package com.daedalus.Gui.other.SimpleGame;

import javax.swing.*;
import java.awt.*;


public class Player extends JComponent{

	private Color color;
	public static int width=50;
	
	public Player(){
		setLayout(null);
		color=Color.red;
		this.setSize(width,width);
		this.setBackground(color);
	}	
	
	public void paint(Graphics g){
		super.paint(g);
		g.setColor(color);
		g.fillRect(0, 0, 50, 50);
	}
	
}
